#include<stdio.h>
#include<malloc.h>
#include<stdlib.h>

void (*real_exit)(int status) = &exit;
void my_exit(int status){
    printf("my_exit__:%d\n",status);
    real_exit(status);
}
int main(void)
{
    int *p;
    p=(int *)malloc(10);
    if(!p)
    {
        exit(1);
    }
    free(p);
	
	
	int * arr=(int*)calloc (5, sizeof(int));

    exit(0);
    return 0;
}